<div class="operateBox">
  <div id="p_toolbar"></div><?php $this->loadTemplate('toolbar-save');?>
  <h2><?php echo $this->title?></h2> 
</div>

<form id="form1" method="post" action="" class="post-tr">
  <input type="hidden" id="data_id" name="data_id" value="<?php echo $data['id'];?>" />
  <span class="sh">名称：</span>
  <span class="sp"><input type="text" name="data[name]" value="<?php e_h($data['name'])?>"  /></span>
  <span class="sh">描述：</span>
  <span class="sp"><input type="text" name="data[note]" value="<?php e_h($data['note'])?>" /></span>
  <span class="sh">操作模块：</span>
  <span class="sp"><?php html::checkboxR('name="data[module_ids][]"', YF_f::initC('\c\auth\module')->get(), $data['module_ids'], 'id', 'name', '<br />')?></span>
</form>